package com.hdoit.apollo.logical.shop.service.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.tennetcn.data.dao.base.impl.SuperService;
import com.hdoit.apollo.logical.shop.model.Supplier;
import com.hdoit.apollo.logical.shop.service.ISupplierService;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年05月22日 10:07:27
 * @comment
 */
@Component
public class SupplierServiceImpl extends SuperService<Supplier> implements ISupplierService{

	@Override
	public boolean saveSuppliers(List<Supplier> suppliers) {
		boolean result=false;
		result= (super.insertListEx(suppliers)==suppliers.size());
		
		return result;
	}

}